2 ==============================================================================
4 This file is part of the JUCE library - "Jules' Utility Class Extensions"
5 Copyright 2004-11 by Raw Material Software Ltd.
7 ------------------------------------------------------------------------------
9 JUCE can be redistributed and/or modified under the terms of the GNU General
10 Public License (Version 2), as published by the Free Software Foundation.
11 A copy of the license is included in the JUCE distribution, or can be found
12 online at www.gnu.org/licenses.
14 JUCE is distributed in the hope that it will be useful, but WITHOUT ANY
15 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
16 A PARTICULAR PURPOSE. See the GNU General Public License for more details.
18 ------------------------------------------------------------------------------
20 To release a closed-source product which uses JUCE, commercial licenses are
21 available: visit www.rawmaterialsoftware.com/juce for more information.
23 ==============================================================================
27 A namespace to hold all the possible command IDs.
31 static const int open
= 0x20002;
32 static const int close
= 0x20003;
33 static const int save
= 0x20004;
34 static const int saveAs
= 0x20005;
35 static const int undo
= 0x20006;
36 static const int redo
= 0x20007;
38 static const int test
= 0x20009;
39 static const int toFront
= 0x2000a;
40 static const int toBack
= 0x2000b;
42 static const int group
= 0x20017;
43 static const int ungroup
= 0x20018;
45 static const int showPrefs
= 0x2000c;
46 static const int useTabbedWindows
= 0x2000d;
48 static const int showGrid
= 0x2000e;
49 static const int enableSnapToGrid
= 0x2000f;
51 static const int editCompLayout
= 0x20010;
52 static const int editCompGraphics
= 0x20011;
54 static const int bringBackLostItems
= 0x20012;
56 static const int zoomIn
= 0x20013;
57 static const int zoomOut
= 0x20014;
58 static const int zoomNormal
= 0x20015;
59 static const int spaceBarDrag
= 0x20016;
61 static const int compOverlay0
= 0x20020;
62 static const int compOverlay33
= 0x20021;
63 static const int compOverlay66
= 0x20022;
64 static const int compOverlay100
= 0x20023;
66 static const int newDocumentBase
= 0x32001;
67 static const int newComponentBase
= 0x30001;
68 static const int newElementBase
= 0x31001;
71 namespace CommandCategories
73 static const char* const general
= "General";
74 static const char* const editing
= "Editing";
75 static const char* const view
= "View";